﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;

namespace YellowMap
{
    public class Constant
    {
        public const string LANG_VI = "vi";
        public const string LANG_EN = "en";

        public const int MAPTYPE_ROADMAP = 0;
        public const int MAPTYPE_AERIAL = 1;
        public const int MAPTYPE_HYBRID = 2;
        public const int MAPTYPE_TERRAIN = 3;
        public const int SEARCHFROM_CURRENT = 0;
        public const int SEARCHFROM_CHOOSEONMAP = 1;
        public const int SEARCHBY_CLOSEST = 0;
        public const int SEARCHBY_BESTRATE = 1;

        public const int MAP_ZOOM_LEVEL = 15;
        public const double MAP_ZOOM_LEVEL_DEFAULT = 15;

        public const string DB_NAME = "yellow_map_db";

        public const int MAP_POLYLINE_THICNESS = 10;
        public static Color MAP_POLYLINE_COLOR = Color.FromArgb(255,247,160,0);

        public const int    DEFAULT_SETTING_RADIUS = 50000;
        public const string DEFAULT_SETTING_LANGUAGE = LANG_EN;
        public const int DEFAULT_SETTING_MAPTYPE = MAPTYPE_ROADMAP;

        public const string CATEGORY_FILE_PATH = "Resources/category.xml";




        public static BitmapImage BI_NONE = new BitmapImage(new Uri("ms-appx:///Resources/Icon/"));
        public static BitmapImage BI_U_TURN_LEFT    = new BitmapImage(new Uri(""));
        public static BitmapImage BI_U_TURN_RIGHT   = new BitmapImage(new Uri(""));
        public static BitmapImage BI_TURN_LEFT      = new BitmapImage(new Uri(""));
        public static BitmapImage BI_TURN_RIGHT     = new BitmapImage(new Uri(""));
        public static BitmapImage BI_KEEP_LEFT      = new BitmapImage(new Uri(""));
        public static BitmapImage BI_KEEP_RIGHT     = new BitmapImage(new Uri(""));
        public static BitmapImage BI_ROUNGABOUT_LEFT = new BitmapImage(new Uri(""));
        public static BitmapImage BI_ROUNDABOUT_RIGHT = new BitmapImage(new Uri(""));
        public static BitmapImage BI_SLIGHT_LEFT    = new BitmapImage(new Uri(""));
        public static BitmapImage BI_SLIGHT_RIGHT   = new BitmapImage(new Uri(""));
        public static BitmapImage BI_SHARP_LEFT     = new BitmapImage(new Uri(""));
        public static BitmapImage BI_SHARP_RIGHT    = new BitmapImage(new Uri(""));

    }
}
